tar -xf prometheus-webhook-dingtalk-2.1.0.linux-amd64.tar.gz 
tar -xf kube-prometheus-stack-image.tgz
cd ./prometheus-stack/    
  docker load -i alertmanager
   docker load -i grafana
   docker load -i kube-state-metrics
   docker load -i node-exporter
  docker load -i prometheus-operator
  docker load -i bats
  docker load -i k8s-sidecar
  docker load -i kube-webhook-certgen
  docker load -i prometheus

cd ..
cp -r prometheus-webhook-dingtalk-2.1.0.linux-amd64 /usr/local/dingtalk/
cp -r  dingtalk.service  /usr/local/dingtalk/dingtalk.service 
cp -r  config.yml  /usr/local/dingtalk/config.yml
ln -s /usr/local/dingtalk/dingtalk.service /lib/systemd/system
systemctl  daemon-reload
systemctl enable --now dingtalk
systemctl  restart dingtalk
